home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 004a / mathpl20.zip / MATHPLOT.HLP < prev    next >
Text File  |  1991-12-07  |  4KB  |  120 lines

  1.  
  2.  
  3.               ----  Defining Functions to be Plotted  ----
  4.  
  5.  
  6. Cartesian:
  7.     Yn = f(X)    Where 'n' is in the range 1 to 4 (default is 1).
  8.  
  9. Cartesian parametric:
  10.     Yn = f(T)
  11.     Xn = f(T)
  12.  
  13. Polar:
  14.     Rn = f(A)     Radius as a function of angle. 'n' is in the range 1 to 4.
  15.  
  16. Polar parametric:
  17.     Rn = f(T)     Define radius for function 'n' (1 to 4)
  18.     An = f(T)     Define angle for function 'n' (1 to 4)
  19.  
  20.  
  21.                  ---- Items that can be part of expressions ----
  22.  
  23.  
  24.  
  25. ----  Arithmetic operators ----         |    ----  Built in constants ----
  26.                                         |
  27.   +        Addition                     |      PI     Pi (3.14159....)
  28.   -        Subtraction (or unary minus) |       E      Base of logs (2.718...)
  29.   *        Multiplication               |
  30.   /        Division                     |    ----  Parameters  ----
  31.   ** or ^  Exponentation                |      P0, P1, ..., P9
  32.  
  33.                  ----  Built in functions  ----
  34.  
  35. ABS(x) -- Absolute value.               LOG10(x) -- Log base 10.
  36. ACOS(x) -- Arc cosine.                  MAX(a,b) -- Larger of a or b.
  37. ASIN(x) -- Arc sine.                    MIN(a,b) -- Smaller of a or b.
  38. ATAN(x) -- Arc tangent.                 NORMAL(x) -- Normal probability distrib.
  39. COS(x) -- Cosine.                       PULSE(a,x,b) -- 1 if a<=x<=b, else 0.
  40. CSC(x) -- Cosecant.                     RAD(x) -- Convert degrees to radians.
  41. COSH(x) -- Hyperbolic cosine.           SEC(x) -- Secant.
  42. COT(x) -- Cotangent.                    SIN(x) -- Sine.
  43. DEG(x) -- Convert radians to degrees.   SINH(x) -- Hyperbolic sine.
  44. EXP(x) -- e to x power.                 SQRT(x) -- Square root.
  45. GAMMA(x) -- Gamma function.             STEP(a,x) -- 1 if a<=x, else 0.
  46. GAMMAI(x) -- 1/Gamma function.          T(n,x) -- Chebyshev polynomial order n.
  47. HAV(x) -- Haversine.                    TAN(x) -- Tangent.
  48. J0(x) -- Bessel, 1st kind, order 0.     TANH(x) -- Hyperbolic tangent.
  49. J1(x) -- Bessel, 1st kind, order 1.     Y0(x) -- Bessel, 2nd kind, order 0.
  50. JN(n,x) -- Bessel, 1st kind, order n.   Y1(x) -- Bessel, 2nd kind, order 1.
  51. LOG(x) -- Natural log.                  YN(n,x) -- Bessel, 2nd kind, order n.
  52.  
  53.                       ----  Commands ----
  54.  
  55. AXES {ON | OFF} (default=OFF) -- Display axes without labels.
  56.  
  57. CALCULATE cexpr -- Calculate and print the value of an expression.
  58.  
  59. CAXES cexpr (default=3) -- Set color for axes and labels.
  60.  
  61. CFn cexpr (default=2,1,4,3) -- Set color for plot of function 'n'.
  62.  
  63. CGRID cexpr (default=8) -- Set color for grid lines.
  64.  
  65. CLEAR -- Clear the screen.
  66.  
  67. COMMONSCALE {ON | OFF} (default=OFF) -- Force X and Y axes to have same scale.
  68.  
  69. CTITLE cexpr (default=7) -- Set color for title line.
  70.  
  71. DATA filespec -- Read data values from specified file.
  72.  
  73.                   ----  More commands ----
  74.  
  75. DISPLAY string -- Display the string on the console.
  76.  
  77. DO filespec -- Execute commands stored in external file.
  78.  
  79. DOMAIN cexpr,cexpr (default=0,2*pi) -- Set data range to be plotted.
  80.  
  81. EXIT  -- Exit from MATHPLOT and return to DOS.
  82.  
  83. GRID {ON | OFF} (default=OFF) -- Control display of grid lines.
  84.  
  85. LABEL {ON | OFF} (default=OFF) -- Control display of axis labels.
  86.  
  87. LIST {ON | OFF} (default=OFF) -- List files executed by DO command.
  88.  
  89. NUMPOINTS cexpr (default=100) -- Number of points to evaluate and plot.
  90.  
  91. ORIGIN {ON | OFF} (default=OFF) -- Force origin (0,0) to be displayed.
  92.  
  93.                   ----  More commands ----
  94.  
  95. PAUSE [cexpr] -- Pause for specified number of seconds or until key is pressed.
  96.  
  97. PLOT -- Evaluate and plot the currently defined function(s).
  98.  
  99. Pn cexpr -- Specify value for parameter P0, P1, ..., P9.
  100.  
  101. PDEVICE device (default=PRN) -- Specify printer device name.
  102.  
  103. PRINT {ON | OFF} (default=OFF) -- Enable output to printer.
  104.  
  105. RESET -- Reset all parameters to initial values and remove functions.
  106.  
  107. SAVE filespec -- Save current plot description in external file.
  108.  
  109. TABULATE -- Evaluate functions and list values.
  110.  
  111. TITLE string -- Specify title for plot.
  112.  
  113.                   ----  More commands ----
  114.  
  115. WAXES cexpr (default=3) -- Specify the width of printed axis lines.
  116.  
  117. WFn cexpr (default=3) -- Specify the width used to print function n.
  118.  
  119. WGIRD cexpr (default=1) -- Specify the width of printed grid lines.
  120.